<%@include file="/header.jsp"  %>


<div id="breadcrump">
    <ul id="breadcrump-list">
        <li>&raquo; Nieuwe gebruiker</li>
    </ul>
</div>

<c:choose>
    <c:when test="${param.success == 'true'}">
        Gebruiker is opgeslagen
    </c:when>
    <c:otherwise>
        
        <c:if test="${formError != null}">
            <div class="formError">
                <c:forEach var="v" items="${formError}">
                    ${v.getMessage()} <br />
                </c:forEach>
            </div>
        </c:if>
        
        <form method="post" action="">
            <table>
                <tr><td>Voornaam:</td><td><input type="text" name="firstname"></td></tr>
                <tr><td>Achternaam:</td><td><input type="text" name="lastname"></td></tr>   
                <tr><td>Adres:</td><td><input type="text" name="addres"></td></tr>
                <tr><td>Postcode:</td><td><input type="text" name="zipcode"></td></tr>
                <tr><td>Woonplaats:</td><td><input type="text" name="city"></td></tr>
                <tr><td>Email:</td><td><input type="text" name="email"></td></tr>
                <tr><td>Wachtwoord:</td><td><input type="password" name="password"></td></tr>
                <tr><td></td><td><input type="submit" value="Opslaan"></td></tr>
            </table>
        </form>
    </c:otherwise>
</c:choose>

<%@include file="/footer.jsp" %>